#ifndef ANIMATEDSPRITE_H
#define ANIMATEDSPRITE_H

#include "Sprite.h"

class AnimatedSprite : public Sprite
{
	public:
		void Initialise(HDC* bHDC, LPSTR filename, int xpos, int ypos, int fWidth, int fHeight, float sWidth, float sHeight, float animationSpeed, float movementSpeed, float mass, float e, bool hit);
		void Update(float);
		void Move(float);

		//Over loaded draw fuctions for each of the diffrent Blt
		//Three int for the transparent colour R,G,B
		//Two floats for scale width and height
		//Six ints for the three points of the parallelogram
		void drawAnimaSprite(int, int, int);
		void drawAnimaSprite();
		void drawAnimaSprite(int, int, int, int, int, int);

	protected:
		int		frameHeight, frameWidth, offsetX, offsetY;
		float	animTime, elapsedTime, frameStepTime, speed;

};
#endif